<?php	include("../general/mysqlConnParams.php");		$connection = mysql_connect($hostname, $username, $password);	$db = mysql_select_db($database, $connection);		$username = $_POST["username"];	$password = $_POST["password"];		$query = "SELECT * FROM users where name='" . $username . "' and password='" . $password . "'";    $result = mysql_query($query);    $nbrows = mysql_num_rows($result);    echo $nbrows;		mysql_close($connection);?>